import React, {Component} from 'react'
import gif from '../common/images/404.gif'

export default class NotFound extends Component {
  render() {
    return (
      <div style={{
        textAlign: 'center',
        padding: '50px 0'
      }}>
        <img src={gif} alt="404"/>
        <p style={{
          padding: '20px 0',
          fontSize: '16px'
        }}>{this.props.text || '404 Not Found'}</p>
      </div>
    )
  }
}